/*
* @Author: Adolphus.Yao
* @Date:   2019-08-29 15:32:29
* @Last Modified by:   Adolphus.Yao
* @Last Modified time: 2019-08-29 21:11:28
*/
package middleware

import (
    "github.com/kataras/iris/middleware/basicauth"
)

var BasicAuth = basicauth.New(basicauth.Config{
    Users: map[string]string{
        "admin": "password",
    },
})
